package com.vpen.springsecuritytest.service;

import com.vpen.springsecuritytest.pojo.User;

import java.util.List;


/**
 * -@Version 1.0
 * -@Author:Vpen
 * -@Date:2021/3/13 19:41
 * -@Content:
 *
 */
public interface UserService {
    // 根据用户名查询密码
    User login(String name);
    List<String> selectRoleByUser(User user);
    List<String> selectResourceByUser(User user);
}
